import { createStore } from 'vuex'
import test from './test'
const store = createStore({
  state() {
    return {
      count: 0
    }
  },
  mutations: {
    increment(state) {
      state.count++
    }
  },
  modules: {
    test
  }
})
export default store
